package com.crr;

/**
 * 抽象享元类 单车
 * 共有信息 价格 颜色
 */
public abstract class Bike {
    protected String color;
    protected double price;

    public Bike() {

    }

    public Bike(String color, double price) {
        this.color = color;
        this.price = price;
    }
    //展示单车信息
    public abstract void show();
}
